<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ezcomp="http://java.sun.com/jsf/composite/ezcomp">
    <style type="text/css">       
        .companyHeaderGrid td {
            border-style: hidden !important;
        }
        .companyHeaderGrid tr, .companyHeaderGrid td {
            border: none;
        }
    </style> 

    <body>
        <ui:composition template="../plantilla/Plantilla_ventas.xhtml">
            <ui:define name="top">
                <ui:include src="../plantilla/top.xhtml" />
            </ui:define>    
            <!--ui:define name="left">
                <ui:include src="../plantilla/left.xhtml" />
            </ui:define-->
            <ui:define name="content">                

                <table id="datos" width="700" border="0" align="center" cellspacing="0" cellpadding="0">
                    <tr>                                                             
                        <td colspan="2">

                            <table  border="0" cellspacing="0" cellpadding="0" align="center">
                                <tr>
                                    <td><div>

                                            <br/>
                                            <br/>
                                            <br/>


                                            <br/><br/>
                                            <h:panelGrid width="600px" border="0" id="productos" >
                                                <p:row><p:column>
                                                        <table   border="0" width="600px" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td align="right" colspan="2">
                                                                    <h:outputLabel for="Fecha" value="10-02-2013&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2" align="left">
                                                                    <h:outputLabel for="Nombre" value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pedro Carpio" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left">
                                                                    <h:outputLabel for="Comunidad" value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;02453322-9" />
                                                                </td>
                                                                <td align="right">
                                                                    <h:outputLabel for="Fecha" value="Contado&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
                                                                </td>

                                                            </tr>                                                   
                                                            <tr>
                                                                <td colspan="2" align="left">
                                                                    <h:outputLabel for="Nombre" value="&nbsp;&nbsp;                                                                                                                                                      
                                                                                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Colonia Espiga dorada, San Vicente" />                                                          
                                                                </td>
                                                            </tr>
                                                        </table>


                                                    </p:column></p:row>


                                                <p:row>
                                                    <p:column style="text-align: left" colspan="2">

                                                        <p:dataTable var="cars" value="">
                                                            <p:column style="width:50px!important">
                                                                <h:outputText value="1" /><br/>
                                                                <h:outputText value="1" /><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                            </p:column>
                                                            <p:column style="width:200px!important; text-align:  left">

                                                                <h:outputText value="Fertilizantes" /><br/>
                                                                <h:outputText value="Semillas" /><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                            </p:column>
                                                            <p:column style="width:50px!important; text-align:  right">
                                                                <h:outputText value="12.50" /><br/>
                                                                <h:outputText value="8.90" /><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                            </p:column> 
                                                            <p:column style="width:50px!important; text-align:  right">
                                                                <h:outputText value="" /><br/>
                                                                <h:outputText value="" />
                                                            </p:column> 
                                                            <p:column style="width:50px!important; text-align:  right">
                                                                <h:outputText value="" /><br/>
                                                                <h:outputText value="" />
                                                            </p:column> 
                                                            <p:column style="width:50px!important; text-align:  right">
                                                                <h:outputText value="12.50" /><br/>
                                                                <h:outputText value="8.90" /><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                                <br/><br/><br/><br/><br/><br/><br/>
                                                            </p:column> 

                                                        </p:dataTable>   
                                                    </p:column></p:row>                                                    
                                                
                                                
                                                <p:row>
                                                    <p:column style="text-align: left" colspan="2">

                                                        <p:dataTable var="cars" value="">
                                                            <p:column style="width:250px!important; text-align:  left">                                                                
                                                                <h:outputText value="Son: Veintiun 40/100 dolares" /><br/>
                                                                <br/><br/><br/><br/><br/>
                                                            </p:column>
                                                            
                                                            <p:column style="width:150px!important; text-align:  left">         
                                                                <h:outputText value="Sumas" /><br/>
                                                                <h:outputText value="Ventas exentas" /><br/>
                                                                <h:outputText value="Sub-total" /><br/>
                                                                <h:outputText value="Ventas no sujetas" /><br/>
                                                                <h:outputText value="(-) iva retenido" /><br/>
                                                                <h:outputText value="Ventas total" /><br/>
                                                                
                                                            </p:column> 
                                                            <p:column style="width:50px!important">         
                                                                <h:outputText value="21.40" /><br/>
                                                                <br/>
                                                                <h:outputText value="21.40" /><br/>
                                                                <br/><br/>
                                                                <h:outputText value="21.40" />
                                                                
                                                            </p:column> 

                                                        </p:dataTable>   
                                                    </p:column></p:row>                                                    
                                                
                                            </h:panelGrid>  
                                            <br/>
                                        </div></td>                                                 

                                </tr>
                            </table>

                            <p:commandButton id="btn_imprimir" type="button" value="Imprimir" icon="ui-icon-print" style="margin:0">   
                                <p:printer target="productos" />  
                            </p:commandButton>  
                        </td>
                    </tr>                    
                </table>                             
            </ui:define>
            <ui:define name="bottom">
                <ui:include src="../plantilla/bottom.xhtml" />                
            </ui:define>
        </ui:composition>
    </body>

</html>